package com.supermarket.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

public class Warehouse {

    @ExcelProperty("仓库编号")
    @ColumnWidth(10)
    private Integer warehouseID;
    @ExcelProperty("商品编号")
    @ColumnWidth(10)
    private Integer goodsID;
    @ExcelProperty("库存数量")
    @ColumnWidth(12)
    private Integer stock;


    public Integer getWarehouseID() {
        return warehouseID;
    }

    public void setWarehouseID(Integer warehouseID) {
        this.warehouseID = warehouseID;
    }

    public Integer getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(Integer goodsID) {
        this.goodsID = goodsID;
    }

    public Integer getStock() { return stock; }

    public void setStock(Integer stock) {
        this.stock = stock;
    }



    @Override
    public String toString() {
        return "Warehouse{" +
                "warehouseID=" + warehouseID +
                ", goods=" + goodsID +
                ", stock=" + stock +

                '}';
    }
}
